package tech.dongliang.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import tech.dongliang.system.model.SysUserRole;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xdzhang
 * @since 2019-01-18
 */
public interface ISysUserRoleService extends IService<SysUserRole> {
    List<Integer> getUserRoleId(Integer userId) throws Exception;

     boolean saveUserRole(Integer userId, List<Integer> roleIds);
}
